import 'package:yysk_app/env/env.dart';

// URL 订单
class OrderUrl {
  static String baseUrl = Env.envConfig.envHttpUrl;
  static String orderList = '$baseUrl/trade/web/order/page'; // 藏品订单列表
  static String getOrdersByPage =
      '$baseUrl/trade/web/incubationOrder/getOrdersByUserId'; // 购买-获取孵化订单列表
  static String orderDetail = '$baseUrl/trade/web/order'; // 订单详情
  static String orderCancel = '$baseUrl/trade/web/order/cancel'; // 取消订单
  static String buyOrder = '$baseUrl/trade/web/order/buyOrder'; // 购买首发商品创建订单
  static String getPayToken = '$baseUrl/trade/web/order/getPayToken'; // 获取支付令牌
  static String getIncubationPayToken =
      '$baseUrl/trade/web/incubationOrder/getPayToken'; // 获取孵化订单支付令牌
  static String getOrdersBySellPage =
      '$baseUrl/trade/web/incubationOrder/getOrdersBySellUserId'; // 出售-获取出售订单列表
  static String incubationOrderCancel =
      '$baseUrl/trade/web/incubationOrder/cancelOrder'; // 取消孵化订单
  static String incubationOrderDetail =
      '$baseUrl/trade/web/incubationOrder'; // 心愿盒订单详情
  static String userCollectionTransferRecord =
      '$baseUrl/collection/web/userCollectionTransferRecord'; //藏品转赠记录分页查询
  static String userCollectionTransferDetail =
      '$baseUrl/collection/web/userCollectionTransferRecord'; //藏品转赠记录详情
  static String userBoxTransferRecord =
      '$baseUrl/marketing/web/userBoxTransferRecord'; //盲盒转赠记录分页查询
  static String userBoxTransferDetail =
      '$baseUrl/marketing/web/userBoxTransferRecord'; //盲盒转赠记录详情
  static String userPropTransferRecord =
      '$baseUrl/prop/web/userPropTransferRecord'; //道具转赠记录分页查询
  static String userPropTransferDetail =
      '$baseUrl/prop/web/userPropTransferRecord'; //道具转赠记录详情
}
